package com.xxxx.reflection;

import com.xxxx.reflection.annotation.Bean;
import com.xxxx.reflection.domain.Address;
import com.xxxx.reflection.domain.Customer;

public class Config {
    @Bean
    public Customer customer() {
        return new Customer("pony", "pony@qq.com");
    }

    @Bean
    public Address address() {
        return new Address("center street", "114514");
    }

}
